package com.cljh.service;

import com.cljh.bean.Distinct;
import com.cljh.controller.page.PageBean;
import com.cljh.controller.page.ProductPageBean;
import com.cljh.mapper.DistinctMapper;

import java.util.List;

public interface DistinctService {
    PageBean<Distinct> selectAllByCondition(Integer currentPage, Integer pageSize, Distinct distinct);


    boolean save(Distinct distinct);


    boolean delete(Integer id);

    boolean update(Distinct distinct);


    boolean deleteByIds(List<Integer> ids);

    Distinct selectById(Integer id);

    List<Distinct> selectAll();
}
